Trait anoma_apps::std::prelude::rust_2015::Clone 1.0.0[−][src]
pub trait Clone {
fn clone(&self) -> Self;
fn clone_from(&mut self, source: &Self) { ... }
}Expand description
A common trait for the ability to explicitly duplicate an object.
Differs from Copy in that Copy is implicit and an inexpensive bit-wise copy, while
Clone is always explicit and may or may not be expensive. In order to enforce
these characteristics, Rust does not allow you to reimplement Copy, but you
may reimplement Clone and run arbitrary code.
Since Clone is more general than Copy, you can automatically make anything
Copy be Clone as well.
Derivable
This trait can be used with #[derive] if all fields are Clone. The derived
implementation of Clone calls clone on each field.
For a generic struct, #[derive] implements Clone conditionally by adding bound Clone on
generic parameters.
// `derive` implements Clone for Reading<T> when T is Clone.
#[derive(Clone)]
struct Reading<T> {
frequency: T,
}How can I implement Clone?
Types that are Copy should have a trivial implementation of Clone. More formally:
if T: Copy, x: T, and y: &T, then let x = y.clone(); is equivalent to let x = *y;.
Manual implementations should be careful to uphold this invariant; however, unsafe code
must not rely on it to ensure memory safety.
An example is a generic struct holding a function pointer. In this case, the
implementation of Clone cannot be derived, but can be implemented as:
struct Generate<T>(fn() -> T);
impl<T> Copy for Generate<T> {}
impl<T> Clone for Generate<T> {
fn clone(&self) -> Self {
*self
}
}Additional implementors
In addition to the implementors listed below,
the following types also implement Clone:
- Function item types (i.e., the distinct types defined for each function)
- Function pointer types (e.g.,
fn() -> i32) - Array types, for all sizes, if the item type also implements
Clone(e.g.,[i32; 123456]) - Tuple types, if each component also implements
Clone(e.g.,(),(i32, bool)) - Closure types, if they capture no value from the environment
or if all such captured values implement
Clonethemselves. Note that variables captured by shared reference always implementClone(even if the referent doesn’t), while variables captured by mutable reference never implementClone.
Required methods
Provided methods
fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source.
a.clone_from(&b) is equivalent to a = b.clone() in functionality,
but can be overridden to reuse the resources of a to avoid unnecessary
allocations.
Implementations on Foreign Types
pub fn clone(&self) -> SplitInclusive<'_, T, P>ⓘNotable traits for SplitInclusive<'a, T, P>impl<'a, T, P> Iterator for SplitInclusive<'a, T, P> where
P: FnMut(&T) -> bool, type Item = &'a [T];
impl<'a, T, P> Iterator for SplitInclusive<'a, T, P> where
P: FnMut(&T) -> bool, type Item = &'a [T];pub fn clone(&self) -> EscapeAscii<'a>ⓘNotable traits for EscapeAscii<'a>impl<'a> Iterator for EscapeAscii<'a> type Item = u8;
impl<'a> Iterator for EscapeAscii<'a> type Item = u8;Shared references can be cloned, but mutable references cannot!
Shared references can be cloned, but mutable references cannot!
impl<'_, MEM, DB, H, CA> Clone for TxEnv<'_, MEM, DB, H, CA> where
DB: DB + for<'iter> DBIter<'iter>,
H: StorageHasher,
CA: WasmCacheAccess,
MEM: VmMemory,
impl<'_, MEM, DB, H, CA> Clone for TxEnv<'_, MEM, DB, H, CA> where
DB: DB + for<'iter> DBIter<'iter>,
H: StorageHasher,
CA: WasmCacheAccess,
MEM: VmMemory,
impl<'a, DB, H, CA> Clone for TxCtx<'a, DB, H, CA> where
DB: DB + for<'iter> DBIter<'iter>,
H: StorageHasher,
CA: WasmCacheAccess,
impl<'a, DB, H, CA> Clone for TxCtx<'a, DB, H, CA> where
DB: DB + for<'iter> DBIter<'iter>,
H: StorageHasher,
CA: WasmCacheAccess,
impl<'_, MEM, DB, H, EVAL, CA> Clone for VpEnv<'_, MEM, DB, H, EVAL, CA> where
DB: DB + for<'iter> DBIter<'iter>,
H: StorageHasher,
CA: WasmCacheAccess,
MEM: VmMemory,
EVAL: VpEvaluator,
impl<'_, MEM, DB, H, EVAL, CA> Clone for VpEnv<'_, MEM, DB, H, EVAL, CA> where
DB: DB + for<'iter> DBIter<'iter>,
H: StorageHasher,
CA: WasmCacheAccess,
MEM: VmMemory,
EVAL: VpEvaluator,
impl<'a, DB, H, EVAL, CA> Clone for VpCtx<'a, DB, H, EVAL, CA> where
DB: DB + for<'iter> DBIter<'iter>,
H: StorageHasher,
CA: WasmCacheAccess,
EVAL: VpEvaluator,
impl<'a, DB, H, EVAL, CA> Clone for VpCtx<'a, DB, H, EVAL, CA> where
DB: DB + for<'iter> DBIter<'iter>,
H: StorageHasher,
CA: WasmCacheAccess,
EVAL: VpEvaluator,
pub fn clone(&self) -> HandlerOutputBuilder<T>
pub fn clone(&self) -> StrftimeItems<'a>ⓘNotable traits for StrftimeItems<'a>impl<'a> Iterator for StrftimeItems<'a> type Item = Item<'a>;
impl<'a> Iterator for StrftimeItems<'a> type Item = Item<'a>;impl Clone for __c_anonymous_ptrace_syscall_info_exit
impl Clone for __c_anonymous_ptrace_syscall_info_exit
pub fn clone(&self) -> __c_anonymous_ptrace_syscall_info_exit
impl Clone for __c_anonymous_sockaddr_can_j1939
impl Clone for __c_anonymous_sockaddr_can_j1939
pub fn clone(&self) -> __c_anonymous_sockaddr_can_j1939
impl Clone for __c_anonymous_ptrace_syscall_info_data
impl Clone for __c_anonymous_ptrace_syscall_info_data
pub fn clone(&self) -> __c_anonymous_ptrace_syscall_info_data
impl Clone for __c_anonymous_sockaddr_can_can_addr
impl Clone for __c_anonymous_sockaddr_can_can_addr
pub fn clone(&self) -> __c_anonymous_sockaddr_can_can_addr
impl Clone for __c_anonymous_ptrace_syscall_info_entry
impl Clone for __c_anonymous_ptrace_syscall_info_entry
pub fn clone(&self) -> __c_anonymous_ptrace_syscall_info_entry
impl Clone for __c_anonymous_ptrace_syscall_info_seccomp
impl Clone for __c_anonymous_ptrace_syscall_info_seccomp
pub fn clone(&self) -> __c_anonymous_ptrace_syscall_info_seccomp
pub fn clone(&self) -> With<Si, Item, U, Fut, F>
pub fn clone(&self) -> WeakShared<Fut>
pub fn clone(&self) -> SinkMapErr<Si, F>
impl<T> Clone for Pending<T>
impl<T> Clone for Pending<T>
impl<'a, T> Clone for Iter<'a, T>
impl<'a, T> Clone for Iter<'a, T>
pub fn clone(&self) -> Instrumented<T>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;pub fn clone(&self) -> WithDispatch<T>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;pub fn clone(&self) -> Either<A, B>ⓘNotable traits for Either<A, B>impl<A, B, T, AE, BE> Future for Either<A, B> where
B: Future<Output = Result<T, BE>>,
A: Future<Output = Result<T, AE>>,
BE: Into<Box<dyn Error + Send + Sync + 'static, Global>>,
AE: Into<Box<dyn Error + Send + Sync + 'static, Global>>, type Output = Result<T, Box<dyn Error + Send + Sync + 'static, Global>>;
impl<A, B, T, AE, BE> Future for Either<A, B> where
B: Future<Output = Result<T, BE>>,
A: Future<Output = Result<T, AE>>,
BE: Into<Box<dyn Error + Send + Sync + 'static, Global>>,
AE: Into<Box<dyn Error + Send + Sync + 'static, Global>>, type Output = Result<T, Box<dyn Error + Send + Sync + 'static, Global>>;pub fn clone(&self) -> IndexVecIntoIterⓘNotable traits for IndexVecIntoIterimpl Iterator for IndexVecIntoIter type Item = usize;
impl Iterator for IndexVecIntoIter type Item = usize;impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
impl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
impl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
pub fn clone(&self) -> SseMachine<S3, S4, NI>
pub fn clone(&self) -> SmallVec<A>
pub fn clone_from(&mut self, source: &SmallVec<A>)
impl<T> Clone for PollSender<T>
impl<T> Clone for PollSender<T>
pub fn clone(&self) -> PollSender<T>
pub fn clone(&self) -> PollSender<T>
Clones this PollSender. The resulting clone will not have any
in-progress send operations, even if the current PollSender does.
pub fn clone(&self) -> Intersection<'_, T, S>ⓘNotable traits for Intersection<'a, T, S>impl<'a, T, S> Iterator for Intersection<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
impl<'a, T, S> Iterator for Intersection<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;pub fn clone(&self) -> SymmetricDifference<'_, T, S1, S2>ⓘNotable traits for SymmetricDifference<'a, T, S1, S2>impl<'a, T, S1, S2> Iterator for SymmetricDifference<'a, T, S1, S2> where
T: Eq + Hash,
S1: BuildHasher,
S2: BuildHasher, type Item = &'a T;
impl<'a, T, S1, S2> Iterator for SymmetricDifference<'a, T, S1, S2> where
T: Eq + Hash,
S1: BuildHasher,
S2: BuildHasher, type Item = &'a T;pub fn clone(&self) -> Difference<'_, T, S>ⓘNotable traits for Difference<'a, T, S>impl<'a, T, S> Iterator for Difference<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
impl<'a, T, S> Iterator for Difference<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;impl<'_, K, V> Clone for Iter<'_, K, V>
impl<'_, K, V> Clone for Iter<'_, K, V>
pub fn clone(&self) -> HashSet<T, S, A>
pub fn clone_from(&mut self, source: &HashSet<T, S, A>)
impl<'_, K, V> Clone for Values<'_, K, V>
impl<'_, K, V> Clone for Values<'_, K, V>
impl<'_, K, V> Clone for Keys<'_, K, V>
impl<'_, K, V> Clone for Keys<'_, K, V>
pub fn clone(&self) -> HashMap<K, V, S, A>
pub fn clone_from(&mut self, source: &HashMap<K, V, S, A>)
impl<'_, K> Clone for Iter<'_, K>
impl<'_, K> Clone for Iter<'_, K>
impl<T> Clone for RawIter<T>
impl<T> Clone for RawIter<T>
pub fn clone(&self) -> RawTable<T, A>
pub fn clone_from(&mut self, source: &RawTable<T, A>)
impl<'a> Clone for PercentDecode<'a>
impl<'a> Clone for PercentDecode<'a>
impl<'a> Clone for PercentEncode<'a>
impl<'a> Clone for PercentEncode<'a>
impl Clone for Sha512Trunc256
impl Clone for Sha512Trunc256
impl Clone for Sha512Trunc224
impl Clone for Sha512Trunc224
pub fn clone(&self) -> BlockBuffer<BlockSize>
pub fn clone(&self) -> GenericArray<T, N>
impl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
pub fn clone(&self) -> IndexVecIntoIterⓘNotable traits for IndexVecIntoIterimpl Iterator for IndexVecIntoIter type Item = usize;
impl Iterator for IndexVecIntoIter type Item = usize;impl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
impl<'a> Clone for Parse<'a>
impl<'a> Clone for Parse<'a>
pub fn clone(&self) -> TinyVec<A>
pub fn clone_from(&mut self, o: &TinyVec<A>)
pub fn clone(&self) -> ArrayVec<A>
pub fn clone_from(&mut self, o: &ArrayVec<A>)
pub fn clone(&self) -> PresharedKeyIdentity
pub fn clone(&self) -> KeyShareEntry
pub fn clone(&self) -> PresharedKeyOffer
impl Clone for Ripemd160
impl Clone for Ripemd160
impl Clone for Keccak256Full
impl Clone for Keccak256Full
impl Clone for Shake256
impl Clone for Shake256
impl Clone for Sha3_512
impl Clone for Sha3_512
impl Clone for Shake128
impl Clone for Shake128
impl Clone for Keccak384
impl Clone for Keccak384
impl Clone for Sha3_384
impl Clone for Sha3_384
impl Clone for Keccak256
impl Clone for Keccak256
impl Clone for Sha3_224
impl Clone for Sha3_224
impl Clone for Sha3_256
impl Clone for Sha3_256
impl Clone for Keccak224
impl Clone for Keccak224
impl Clone for Keccak512
impl Clone for Keccak512
impl Clone for Rng
impl Clone for Rng
pub fn clone(&self) -> Rng
pub fn clone(&self) -> Rng
Clones the generator by deterministically deriving a new generator based on the initial seed.
Example
// Seed two generators equally, and clone both of them.
let base1 = fastrand::Rng::new();
base1.seed(0x4d595df4d0f33173);
base1.bool(); // Use the generator once.
let base2 = fastrand::Rng::new();
base2.seed(0x4d595df4d0f33173);
base2.bool(); // Use the generator once.
let rng1 = base1.clone();
let rng2 = base2.clone();
assert_eq!(rng1.u64(..), rng2.u64(..), "the cloned generators are identical");impl<Address> Clone for ValidatorSet<Address> where
Address: Clone + Debug + PartialEq<Address> + Eq + PartialOrd<Address> + Ord + Hash + BorshDeserialize + BorshSerialize,
impl<Address> Clone for ValidatorSet<Address> where
Address: Clone + Debug + PartialEq<Address> + Eq + PartialOrd<Address> + Ord + Hash + BorshDeserialize + BorshSerialize,
impl<Data, Offset> Clone for EpochedDelta<Data, Offset> where
Data: Clone + Add<Data, Output = Data> + BorshDeserialize + BorshSerialize,
Offset: Clone + EpochOffset,
impl<Data, Offset> Clone for EpochedDelta<Data, Offset> where
Data: Clone + Add<Data, Output = Data> + BorshDeserialize + BorshSerialize,
Offset: Clone + EpochOffset,
impl<Address, TokenChange, PublicKey> Clone for ValidatorUpdate<Address, TokenChange, PublicKey> where
Address: Clone + Debug,
PublicKey: Clone + Debug + BorshDeserialize + BorshSerialize,
TokenChange: Clone + Display + Debug + Default + Copy + Add<TokenChange, Output = TokenChange> + Sub<TokenChange, Output = TokenChange> + PartialEq<TokenChange> + Eq + BorshDeserialize + BorshSerialize,
impl<Address, TokenChange, PublicKey> Clone for ValidatorUpdate<Address, TokenChange, PublicKey> where
Address: Clone + Debug,
PublicKey: Clone + Debug + BorshDeserialize + BorshSerialize,
TokenChange: Clone + Display + Debug + Default + Copy + Add<TokenChange, Output = TokenChange> + Sub<TokenChange, Output = TokenChange> + PartialEq<TokenChange> + Eq + BorshDeserialize + BorshSerialize,
impl<Address, TokenAmount, TokenChange, PublicKey> Clone for DataUpdate<Address, TokenAmount, TokenChange, PublicKey> where
Address: Display + Debug + Clone + PartialEq<Address> + Eq + PartialOrd<Address> + Ord + Hash + BorshDeserialize + BorshSerialize,
PublicKey: Clone + Debug + BorshDeserialize + BorshSerialize,
TokenAmount: Clone + Debug + Default + Eq + Sub<TokenAmount> + Add<TokenAmount, Output = TokenAmount> + AddAssign<TokenAmount> + BorshDeserialize + BorshSerialize,
TokenChange: Clone + Display + Debug + Default + Copy + Add<TokenChange, Output = TokenChange> + Sub<TokenChange, Output = TokenChange> + From<TokenAmount> + Into<i128> + PartialEq<TokenChange> + Eq + BorshDeserialize + BorshSerialize,
impl<Address, TokenAmount, TokenChange, PublicKey> Clone for DataUpdate<Address, TokenAmount, TokenChange, PublicKey> where
Address: Display + Debug + Clone + PartialEq<Address> + Eq + PartialOrd<Address> + Ord + Hash + BorshDeserialize + BorshSerialize,
PublicKey: Clone + Debug + BorshDeserialize + BorshSerialize,
TokenAmount: Clone + Debug + Default + Eq + Sub<TokenAmount> + Add<TokenAmount, Output = TokenAmount> + AddAssign<TokenAmount> + BorshDeserialize + BorshSerialize,
TokenChange: Clone + Display + Debug + Default + Copy + Add<TokenChange, Output = TokenChange> + Sub<TokenChange, Output = TokenChange> + From<TokenAmount> + Into<i128> + PartialEq<TokenChange> + Eq + BorshDeserialize + BorshSerialize,
impl<Address> Clone for WeightedValidator<Address> where
Address: Clone + Debug + PartialEq<Address> + Eq + PartialOrd<Address> + Ord + Hash + BorshDeserialize + BorshSerialize,
impl<Address> Clone for WeightedValidator<Address> where
Address: Clone + Debug + PartialEq<Address> + Eq + PartialOrd<Address> + Ord + Hash + BorshDeserialize + BorshSerialize,
pub fn clone(&self) -> CombinationsWithReplacement<I>ⓘ
pub fn clone(&self) -> ExactlyOneError<I>ⓘNotable traits for ExactlyOneError<I>impl<I> Iterator for ExactlyOneError<I> where
I: Iterator, type Item = <I as Iterator>::Item;
impl<I> Iterator for ExactlyOneError<I> where
I: Iterator, type Item = <I as Iterator>::Item;pub fn clone(&self) -> TupleCombinations<I, T>ⓘNotable traits for TupleCombinations<I, T>impl<I, T> Iterator for TupleCombinations<I, T> where
T: HasCombination<I>,
I: Iterator, type Item = T;
impl<I, T> Iterator for TupleCombinations<I, T> where
T: HasCombination<I>,
I: Iterator, type Item = T;impl<T> Clone for TupleBuffer<T> where
T: Clone + HomogeneousTuple,
<T as TupleCollect>::Buffer: Clone,
impl<T> Clone for TupleBuffer<T> where
T: Clone + HomogeneousTuple,
<T as TupleCollect>::Buffer: Clone,
pub fn clone(&self) -> TupleBuffer<T>ⓘNotable traits for TupleBuffer<T>impl<T> Iterator for TupleBuffer<T> where
T: HomogeneousTuple, type Item = <T as TupleCollect>::Item;
impl<T> Iterator for TupleBuffer<T> where
T: HomogeneousTuple, type Item = <T as TupleCollect>::Item;pub fn clone(&self) -> InterleaveShortest<I, J>ⓘNotable traits for InterleaveShortest<I, J>impl<I, J> Iterator for InterleaveShortest<I, J> where
I: Iterator,
J: Iterator<Item = <I as Iterator>::Item>, type Item = <I as Iterator>::Item;
impl<I, J> Iterator for InterleaveShortest<I, J> where
I: Iterator,
J: Iterator<Item = <I as Iterator>::Item>, type Item = <I as Iterator>::Item;pub fn clone(&self) -> MergeJoinBy<I, J, F>ⓘ
pub fn clone(&self) -> Zip<T>ⓘimpl<A, B, C, D, E, F, G, H> Iterator for Zip<(A, B, C, D, E, F, G, H)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
H: Iterator,
B: Iterator,
A: Iterator,
G: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item);impl<A, B, C, D, E> Iterator for Zip<(A, B, C, D, E)> where
C: Iterator,
D: Iterator,
E: Iterator,
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item);impl<A, B, C, D> Iterator for Zip<(A, B, C, D)> where
C: Iterator,
D: Iterator,
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item);impl<A, B, C> Iterator for Zip<(A, B, C)> where
C: Iterator,
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item);impl<A, B, C, D, E, F, G, H, I, J> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
I: Iterator,
H: Iterator,
B: Iterator,
A: Iterator,
G: Iterator,
J: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item, <I as Iterator>::Item, <J as Iterator>::Item);impl<A> Iterator for Zip<(A,)> where
A: Iterator, type Item = (<A as Iterator>::Item,);impl<A, B, C, D, E, F, G> Iterator for Zip<(A, B, C, D, E, F, G)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
B: Iterator,
A: Iterator,
G: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item);impl<A, B, C, D, E, F> Iterator for Zip<(A, B, C, D, E, F)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item);impl<A, B, C, D, E, F, G, H, I, J, K> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J, K)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
I: Iterator,
H: Iterator,
K: Iterator,
B: Iterator,
A: Iterator,
G: Iterator,
J: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item, <I as Iterator>::Item, <J as Iterator>::Item, <K as Iterator>::Item);impl<A, B, C, D, E, F, G, H, I, J, K, L> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J, K, L)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
I: Iterator,
H: Iterator,
K: Iterator,
B: Iterator,
A: Iterator,
L: Iterator,
G: Iterator,
J: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item, <I as Iterator>::Item, <J as Iterator>::Item, <K as Iterator>::Item, <L as Iterator>::Item);impl<A, B, C, D, E, F, G, H, I> Iterator for Zip<(A, B, C, D, E, F, G, H, I)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
I: Iterator,
H: Iterator,
B: Iterator,
A: Iterator,
G: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item, <I as Iterator>::Item);impl<A, B> Iterator for Zip<(A, B)> where
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item);
impl<A, B, C, D, E, F, G, H> Iterator for Zip<(A, B, C, D, E, F, G, H)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
H: Iterator,
B: Iterator,
A: Iterator,
G: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item);impl<A, B, C, D, E> Iterator for Zip<(A, B, C, D, E)> where
C: Iterator,
D: Iterator,
E: Iterator,
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item);impl<A, B, C, D> Iterator for Zip<(A, B, C, D)> where
C: Iterator,
D: Iterator,
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item);impl<A, B, C> Iterator for Zip<(A, B, C)> where
C: Iterator,
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item);impl<A, B, C, D, E, F, G, H, I, J> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
I: Iterator,
H: Iterator,
B: Iterator,
A: Iterator,
G: Iterator,
J: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item, <I as Iterator>::Item, <J as Iterator>::Item);impl<A> Iterator for Zip<(A,)> where
A: Iterator, type Item = (<A as Iterator>::Item,);impl<A, B, C, D, E, F, G> Iterator for Zip<(A, B, C, D, E, F, G)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
B: Iterator,
A: Iterator,
G: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item);impl<A, B, C, D, E, F> Iterator for Zip<(A, B, C, D, E, F)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item);impl<A, B, C, D, E, F, G, H, I, J, K> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J, K)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
I: Iterator,
H: Iterator,
K: Iterator,
B: Iterator,
A: Iterator,
G: Iterator,
J: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item, <I as Iterator>::Item, <J as Iterator>::Item, <K as Iterator>::Item);impl<A, B, C, D, E, F, G, H, I, J, K, L> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J, K, L)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
I: Iterator,
H: Iterator,
K: Iterator,
B: Iterator,
A: Iterator,
L: Iterator,
G: Iterator,
J: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item, <I as Iterator>::Item, <J as Iterator>::Item, <K as Iterator>::Item, <L as Iterator>::Item);impl<A, B, C, D, E, F, G, H, I> Iterator for Zip<(A, B, C, D, E, F, G, H, I)> where
C: Iterator,
D: Iterator,
E: Iterator,
F: Iterator,
I: Iterator,
H: Iterator,
B: Iterator,
A: Iterator,
G: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item, <C as Iterator>::Item, <D as Iterator>::Item, <E as Iterator>::Item, <F as Iterator>::Item, <G as Iterator>::Item, <H as Iterator>::Item, <I as Iterator>::Item);impl<A, B> Iterator for Zip<(A, B)> where
B: Iterator,
A: Iterator, type Item = (<A as Iterator>::Item, <B as Iterator>::Item);pub fn clone(&self) -> ZipLongest<T, U>ⓘNotable traits for ZipLongest<T, U>impl<T, U> Iterator for ZipLongest<T, U> where
T: Iterator,
U: Iterator, type Item = EitherOrBoth<<T as Iterator>::Item, <U as Iterator>::Item>;
impl<T, U> Iterator for ZipLongest<T, U> where
T: Iterator,
U: Iterator, type Item = EitherOrBoth<<T as Iterator>::Item, <U as Iterator>::Item>;pub fn clone(&self) -> ConsTuples<I, J>ⓘimpl<X, Iter, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((E, F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((E, F, G, H, I, J, K, L), X)>, type Item = (E, F, G, H, I, J, K, L, X);impl<X, Iter, J, K, L> Iterator for ConsTuples<Iter, ((J, K, L), X)> where
Iter: Iterator<Item = ((J, K, L), X)>, type Item = (J, K, L, X);impl<X, Iter, K, L> Iterator for ConsTuples<Iter, ((K, L), X)> where
Iter: Iterator<Item = ((K, L), X)>, type Item = (K, L, X);impl<X, Iter, H, I, J, K, L> Iterator for ConsTuples<Iter, ((H, I, J, K, L), X)> where
Iter: Iterator<Item = ((H, I, J, K, L), X)>, type Item = (H, I, J, K, L, X);impl<X, Iter, B, C, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((B, C, D, E, F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((B, C, D, E, F, G, H, I, J, K, L), X)>, type Item = (B, C, D, E, F, G, H, I, J, K, L, X);impl<X, Iter, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((G, H, I, J, K, L), X)>, type Item = (G, H, I, J, K, L, X);impl<X, Iter, C, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((C, D, E, F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((C, D, E, F, G, H, I, J, K, L), X)>, type Item = (C, D, E, F, G, H, I, J, K, L, X);impl<X, Iter, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((D, E, F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((D, E, F, G, H, I, J, K, L), X)>, type Item = (D, E, F, G, H, I, J, K, L, X);impl<X, Iter, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((F, G, H, I, J, K, L), X)>, type Item = (F, G, H, I, J, K, L, X);impl<X, Iter, I, J, K, L> Iterator for ConsTuples<Iter, ((I, J, K, L), X)> where
Iter: Iterator<Item = ((I, J, K, L), X)>, type Item = (I, J, K, L, X);
impl<X, Iter, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((E, F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((E, F, G, H, I, J, K, L), X)>, type Item = (E, F, G, H, I, J, K, L, X);impl<X, Iter, J, K, L> Iterator for ConsTuples<Iter, ((J, K, L), X)> where
Iter: Iterator<Item = ((J, K, L), X)>, type Item = (J, K, L, X);impl<X, Iter, K, L> Iterator for ConsTuples<Iter, ((K, L), X)> where
Iter: Iterator<Item = ((K, L), X)>, type Item = (K, L, X);impl<X, Iter, H, I, J, K, L> Iterator for ConsTuples<Iter, ((H, I, J, K, L), X)> where
Iter: Iterator<Item = ((H, I, J, K, L), X)>, type Item = (H, I, J, K, L, X);impl<X, Iter, B, C, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((B, C, D, E, F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((B, C, D, E, F, G, H, I, J, K, L), X)>, type Item = (B, C, D, E, F, G, H, I, J, K, L, X);impl<X, Iter, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((G, H, I, J, K, L), X)>, type Item = (G, H, I, J, K, L, X);impl<X, Iter, C, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((C, D, E, F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((C, D, E, F, G, H, I, J, K, L), X)>, type Item = (C, D, E, F, G, H, I, J, K, L, X);impl<X, Iter, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((D, E, F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((D, E, F, G, H, I, J, K, L), X)>, type Item = (D, E, F, G, H, I, J, K, L, X);impl<X, Iter, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((F, G, H, I, J, K, L), X)> where
Iter: Iterator<Item = ((F, G, H, I, J, K, L), X)>, type Item = (F, G, H, I, J, K, L, X);impl<X, Iter, I, J, K, L> Iterator for ConsTuples<Iter, ((I, J, K, L), X)> where
Iter: Iterator<Item = ((I, J, K, L), X)>, type Item = (I, J, K, L, X);pub fn clone(&self) -> WithPosition<I>ⓘNotable traits for WithPosition<I>impl<I> Iterator for WithPosition<I> where
I: Iterator, type Item = Position<<I as Iterator>::Item>;
impl<I> Iterator for WithPosition<I> where
I: Iterator, type Item = Position<<I as Iterator>::Item>;pub fn clone(&self) -> Permutations<I>ⓘ
impl<I, T, E> Clone for FlattenOk<I, T, E> where
T: IntoIterator,
I: Iterator<Item = Result<T, E>> + Clone,
<T as IntoIterator>::IntoIter: Clone,
impl<I, T, E> Clone for FlattenOk<I, T, E> where
T: IntoIterator,
I: Iterator<Item = Result<T, E>> + Clone,
<T as IntoIterator>::IntoIter: Clone,
pub fn clone(&self) -> RepeatCall<F>ⓘNotable traits for RepeatCall<F>impl<A, F> Iterator for RepeatCall<F> where
F: FnMut() -> A, type Item = A;
impl<A, F> Iterator for RepeatCall<F> where
F: FnMut() -> A, type Item = A;pub fn clone(&self) -> Interleave<I, J>ⓘNotable traits for Interleave<I, J>impl<I, J> Iterator for Interleave<I, J> where
I: Iterator,
J: Iterator<Item = <I as Iterator>::Item>, type Item = <I as Iterator>::Item;
impl<I, J> Iterator for Interleave<I, J> where
I: Iterator,
J: Iterator<Item = <I as Iterator>::Item>, type Item = <I as Iterator>::Item;pub fn clone(&self) -> IntersperseWith<I, ElemF>ⓘNotable traits for IntersperseWith<I, ElemF>impl<I, ElemF> Iterator for IntersperseWith<I, ElemF> where
I: Iterator,
ElemF: IntersperseElement<<I as Iterator>::Item>, type Item = <I as Iterator>::Item;
impl<I, ElemF> Iterator for IntersperseWith<I, ElemF> where
I: Iterator,
ElemF: IntersperseElement<<I as Iterator>::Item>, type Item = <I as Iterator>::Item;pub fn clone(&self) -> Combinations<I>ⓘ
impl<I, T> Clone for TupleWindows<I, T> where
T: Clone + HomogeneousTuple,
I: Clone + Iterator<Item = <T as TupleCollect>::Item>,
impl<I, T> Clone for TupleWindows<I, T> where
T: Clone + HomogeneousTuple,
I: Clone + Iterator<Item = <T as TupleCollect>::Item>,
pub fn clone(&self) -> TupleWindows<I, T>ⓘNotable traits for TupleWindows<I, T>impl<I, T> Iterator for TupleWindows<I, T> where
T: HomogeneousTuple + Clone,
I: Iterator<Item = <T as TupleCollect>::Item>,
<T as TupleCollect>::Item: Clone, type Item = T;
impl<I, T> Iterator for TupleWindows<I, T> where
T: HomogeneousTuple + Clone,
I: Iterator<Item = <T as TupleCollect>::Item>,
<T as TupleCollect>::Item: Clone, type Item = T;pub fn clone(&self) -> MaybeOk<T, E>
pub fn clone(&self) -> FlattenValueTree<S>
pub fn clone(&self) -> MaybeOkValueTree<T, E>
pub fn clone(&self) -> MaybeErrValueTree<T, E>
pub fn clone(&self) -> BinaryHeapValueTree<T>
pub fn clone(&self) -> OptionStrategy<T>
pub fn clone(&self) -> PerturbValueTree<S, F>
pub fn clone(&self) -> BitSetStrategy<T>
pub fn clone(&self) -> BTreeMapValueTree<K, V>
pub fn clone(&self) -> OptionValueTree<T>
pub fn clone(&self) -> SelectValueTree<T>
pub fn clone(&self) -> BTreeMapStrategy<K, V>
pub fn clone(&self) -> HashMapStrategy<K, V>
pub fn clone(&self) -> MaybeErr<T, E>
pub fn clone(&self) -> VecDequeValueTree<T>
pub fn clone(&self) -> BitSetValueTree<T>
pub fn clone(&self) -> BTreeSetValueTree<T>
pub fn clone(&self) -> VecDequeStrategy<T>
pub fn clone(&self) -> BinaryHeapStrategy<T>
pub fn clone(&self) -> LinkedListValueTree<T>
pub fn clone(&self) -> VecValueTree<T>
pub fn clone(&self) -> LazyValueTree<S>
pub fn clone(&self) -> BTreeSetStrategy<T>
pub fn clone(&self) -> LazyJust<T, F>
pub fn clone(&self) -> SubsequenceValueTree<T>
pub fn clone(&self) -> HashSetValueTree<T>
pub fn clone(&self) -> UnionValueTree<T>
pub fn clone(&self) -> FilterMapValueTree<V, F, O>
pub fn clone(&self) -> TupleUnionValueTree<T>
pub fn clone(&self) -> HashMapValueTree<K, V>
pub fn clone(&self) -> SampledBitSetStrategy<T>
pub fn clone(&self) -> LinkedListStrategy<T>
pub fn clone(&self) -> UniformArrayStrategy<S, T>
pub fn clone(&self) -> HashSetStrategy<T>
pub fn clone(&self) -> BitSet<B>
pub fn clone_from(&mut self, other: &BitSet<B>)
impl<P> Clone for AteAdditionCoefficients<P> where
P: MNT4Parameters,
impl<P> Clone for AteAdditionCoefficients<P> where
P: MNT4Parameters,
pub fn clone(&self) -> AteAdditionCoefficients<P>
impl<P> Clone for AteDoubleCoefficients<P> where
P: MNT4Parameters,
impl<P> Clone for AteDoubleCoefficients<P> where
P: MNT4Parameters,
pub fn clone(&self) -> AteDoubleCoefficients<P>
impl<P> Clone for GroupProjective<P> where
P: TEModelParameters,
impl<P> Clone for GroupProjective<P> where
P: TEModelParameters,
pub fn clone(&self) -> GroupProjective<P>
impl<P> Clone for AteDoubleCoefficients<P> where
P: MNT6Parameters,
impl<P> Clone for AteDoubleCoefficients<P> where
P: MNT6Parameters,
pub fn clone(&self) -> AteDoubleCoefficients<P>
impl<P> Clone for AteAdditionCoefficients<P> where
P: MNT6Parameters,
impl<P> Clone for AteAdditionCoefficients<P> where
P: MNT6Parameters,
pub fn clone(&self) -> AteAdditionCoefficients<P>
impl<P> Clone for MontgomeryGroupAffine<P> where
P: MontgomeryModelParameters,
impl<P> Clone for MontgomeryGroupAffine<P> where
P: MontgomeryModelParameters,
pub fn clone(&self) -> MontgomeryGroupAffine<P>
impl<P> Clone for GroupProjective<P> where
P: SWModelParameters,
impl<P> Clone for GroupProjective<P> where
P: SWModelParameters,
pub fn clone(&self) -> GroupProjective<P>
impl<P> Clone for CubicExtField<P> where
P: CubicExtParameters,
impl<P> Clone for CubicExtField<P> where
P: CubicExtParameters,
pub fn clone(&self) -> CubicExtField<P>
impl<P> Clone for QuadExtField<P> where
P: QuadExtParameters,
impl<P> Clone for QuadExtField<P> where
P: QuadExtParameters,
pub fn clone(&self) -> QuadExtField<P>
pub fn clone(&self) -> BlindedKeyShareWindowTable<E>
pub fn clone(&self) -> BlindedKeyShares<E>
pub fn clone(&self) -> PrivateKeyShare<E>
pub fn clone(&self) -> DecryptionShare<E>
pub fn clone(&self) -> Ciphertext<E>
pub fn clone(&self) -> PublicKeyShares<E>
pub fn clone(&self) -> PublicDecryptionContext<E>
pub fn clone(&self) -> SparsePolynomial<F>
pub fn clone(&self) -> DensePolynomial<F>
pub fn clone(&self) -> GeneralEvaluationDomain<F>
pub fn clone(&self) -> Evaluations<F, D>
pub fn clone(&self) -> SparsePolynomial<F, T>
pub fn clone(&self) -> SparseMultilinearExtension<F>
pub fn clone(&self) -> Radix2EvaluationDomain<F>
pub fn clone(&self) -> MixedRadixEvaluationDomain<F>
pub fn clone(&self) -> DenseMultilinearExtension<F>
pub fn clone(&self) -> DenseOrSparsePolynomial<'a, F>
impl<'a, T> Clone for WasmFuncTypeInputs<'a, T>
impl<'a, T> Clone for WasmFuncTypeInputs<'a, T>
impl<'a, T> Clone for WasmFuncTypeOutputs<'a, T>
impl<'a, T> Clone for WasmFuncTypeOutputs<'a, T>
impl<Args, Rets> Clone for NativeFunc<Args, Rets> where
Args: WasmTypeList,
Rets: WasmTypeList,
impl<Args, Rets> Clone for NativeFunc<Args, Rets> where
Args: WasmTypeList,
Rets: WasmTypeList,
pub fn clone(&self) -> NativeFunc<Args, Rets>
pub fn clone(&self) -> NamedResolverChain<A, B>
pub fn clone(&self) -> EnumSet<T>
impl Clone for AlignedVec
impl Clone for AlignedVec
pub fn clone(&self) -> ArchivedRangeToInclusive<T>
pub fn clone(&self) -> ArchivedRangeInclusive<T>
pub fn clone(&self) -> PackedOption<T>
pub fn clone(&self) -> SecondaryMap<K, V>
pub fn clone(&self) -> PrimaryMap<K, V>
pub fn clone(&self) -> BoxedSlice<K, V>
impl<'a, T> Clone for WasmFuncTypeOutputs<'a, T>
impl<'a, T> Clone for WasmFuncTypeOutputs<'a, T>
impl<'a, T> Clone for WasmFuncTypeInputs<'a, T>
impl<'a, T> Clone for WasmFuncTypeInputs<'a, T>
pub fn clone(&self) -> TargetSharedSignatureIndex
pub fn clone(&self) -> VMSharedSignatureIndex
pub fn clone(&self) -> VMDynamicFunctionContext<T>
pub fn clone(&self) -> UnitHeader<R, Offset>
pub fn clone(&self) -> EntriesCursor<'abbrev, 'unit, R>
pub fn clone(&self) -> DebugMacinfoOffset<T>
pub fn clone(&self) -> ArangeHeader<R, Offset>
pub fn clone(&self) -> PubNamesEntryIter<R>
pub fn clone(&self) -> FileEntry<R, Offset>
pub fn clone(&self) -> AttributeValue<R, Offset>
pub fn clone(&self) -> PubTypesEntryIter<R>
pub fn clone(&self) -> CfiEntriesIter<'bases, Section, R>
pub fn clone(&self) -> LineInstructions<R>
pub fn clone(&self) -> Location<R, Offset>
pub fn clone(&self) -> DebugArangesOffset<T>
pub fn clone(&self) -> CallFrameInstructionIter<'a, R>
pub fn clone(&self) -> Piece<R, Offset>
pub fn clone(&self) -> CieOrFde<'bases, Section, R>
pub fn clone(&self) -> DebuggingInformationEntry<'abbrev, 'unit, R, Offset>
pub fn clone(&self) -> FrameDescriptionEntry<R, Offset>
impl<R, S> Clone for UnwindTableRow<R, S> where
S: UnwindContextStorage<R>,
R: Reader,
impl<R, S> Clone for UnwindTableRow<R, S> where
S: UnwindContextStorage<R>,
R: Reader,
pub fn clone(&self) -> UnwindTableRow<R, S>
pub fn clone(&self) -> CallFrameInstruction<R>
pub fn clone(&self) -> IncompleteLineProgram<R, Offset>
pub fn clone(&self) -> DebugStrOffsetsBase<T>
pub fn clone(&self) -> CommonInformationEntry<R, Offset>
pub fn clone(&self) -> RawLocListEntry<R>
pub fn clone(&self) -> EhHdrTable<'a, R>
pub fn clone(&self) -> DebugLocListsIndex<T>
pub fn clone(&self) -> CompleteLineProgram<R, Offset>
pub fn clone(&self) -> DebugLineStrOffset<T>
pub fn clone(&self) -> ParsedEhFrameHdr<R>
pub fn clone(&self) -> LocationListEntry<R>
pub fn clone(&self) -> LineProgramHeader<R, Offset>
pub fn clone(&self) -> UnwindContext<R, A>
pub fn clone(&self) -> LineInstruction<R, Offset>
pub fn clone(&self) -> DebugRngListsIndex<T>
pub fn clone(&self) -> Operation<R, Offset>
pub fn clone(&self) -> DebugStrOffsetsIndex<T>
pub fn clone(&self) -> DebugInfoUnitHeadersIter<R>
pub fn clone(&self) -> ArangeHeaderIter<R>
pub fn clone(&self) -> EntriesTree<'abbrev, 'unit, R>
pub fn clone(&self) -> LocationListsOffset<T>
pub fn clone(&self) -> PubTypesEntry<R>
pub fn clone(&self) -> PartialFrameDescriptionEntry<'bases, Section, R>
pub fn clone(&self) -> DebugTypesUnitHeadersIter<R>
pub fn clone(&self) -> UnitType<Offset>
pub fn clone(&self) -> AttrsIter<'abbrev, 'entry, 'unit, R>
pub fn clone(&self) -> PubNamesEntry<R>
pub fn clone(&self) -> RawRangeListsOffset<T>
pub fn clone(&self) -> EndianSlice<'input, Endian>
pub fn clone(&self) -> EntriesRaw<'abbrev, 'unit, R>
pub fn clone(&self) -> ArangeEntryIter<R>
pub fn clone(&self) -> LineRows<R, Program, Offset>
pub fn clone(&self) -> ProgramHeader64<E>
impl<'data> Clone for RelocationBlockIterator<'data>
impl<'data> Clone for RelocationBlockIterator<'data>
pub fn clone(&self) -> RelocationBlockIterator<'data>
pub fn clone(&self) -> VerdefIterator<'data, Elf>
pub fn clone(&self) -> ProgramHeader32<E>
pub fn clone(&self) -> DataInCodeEntry<E>
pub fn clone(&self) -> StringTable<'data, R>
pub fn clone(&self) -> DyldCacheMappingInfo<E>
impl<'data> Clone for ImportDescriptorIterator<'data>
impl<'data> Clone for ImportDescriptorIterator<'data>
pub fn clone(&self) -> ImportDescriptorIterator<'data>
pub fn clone(&self) -> PreboundDylibCommand<E>
pub fn clone(&self) -> RoutinesCommand32<E>
pub fn clone(&self) -> EncryptionInfoCommand32<E>
pub fn clone(&self) -> SubFrameworkCommand<E>
pub fn clone(&self) -> SectionHeader32<E>
pub fn clone(&self) -> BuildVersionCommand<E>
pub fn clone(&self) -> SubLibraryCommand<E>
pub fn clone(&self) -> EncryptionInfoCommand64<E>
pub fn clone(&self) -> BuildToolVersion<E>
pub fn clone(&self) -> ElfSymbol<'data, 'file, Elf, R>
pub fn clone(&self) -> LoadCommandData<'data, E>
pub fn clone(&self) -> DylibTableOfContents<E>
pub fn clone(&self) -> VerneedIterator<'data, Elf>
pub fn clone(&self) -> FilesetEntryCommand<E>
pub fn clone(&self) -> LoadCommandVariant<'data, E>
pub fn clone(&self) -> ElfSymbolTable<'data, 'file, Elf, R>
pub fn clone(&self) -> SegmentCommand32<E>
pub fn clone(&self) -> SegmentCommand64<E>
pub fn clone(&self) -> TwolevelHintsCommand<E>
pub fn clone(&self) -> DylinkerCommand<E>
pub fn clone(&self) -> SectionTable<'data, Elf, R>
pub fn clone(&self) -> LinkeditDataCommand<E>
pub fn clone(&self) -> SymbolFlags<Section>
pub fn clone(&self) -> LinkerOptionCommand<E>
pub fn clone(&self) -> VersionMinCommand<E>
pub fn clone(&self) -> CompressionHeader32<E>
impl Clone for ImageEpilogueDynamicRelocationHeader
impl Clone for ImageEpilogueDynamicRelocationHeader
pub fn clone(&self) -> ImageEpilogueDynamicRelocationHeader
pub fn clone(&self) -> DysymtabCommand<E>
pub fn clone(&self) -> RoutinesCommand64<E>
pub fn clone(&self) -> CoffSymbol<'data, 'file, R>
pub fn clone(&self) -> SectionHeader64<E>
pub fn clone(&self) -> VernauxIterator<'data, Elf>
pub fn clone(&self) -> FvmfileCommand<E>
pub fn clone(&self) -> LoadCommandIterator<'data, E>
pub fn clone(&self) -> SubClientCommand<E>
pub fn clone(&self) -> MachOSymbolTable<'data, 'file, Mach, R>
pub fn clone(&self) -> SubUmbrellaCommand<E>
pub fn clone(&self) -> DyldInfoCommand<E>
pub fn clone(&self) -> ReadCacheRange<'a, R>
impl Clone for ImageAlpha64RuntimeFunctionEntry
impl Clone for ImageAlpha64RuntimeFunctionEntry
pub fn clone(&self) -> ImageAlpha64RuntimeFunctionEntry
pub fn clone(&self) -> DyldCacheImageInfo<E>
pub fn clone(&self) -> VersionTable<'data, Elf>
pub fn clone(&self) -> DyldCacheHeader<E>
pub fn clone(&self) -> SymbolTable<'data, Elf, R>
pub fn clone(&self) -> CoffSymbolTable<'data, 'file, R>
pub fn clone(&self) -> MachOSymbol<'data, 'file, Mach, R>
pub fn clone(&self) -> DylibReference<E>
pub fn clone(&self) -> SymbolTable<'data, Mach, R>
impl<'data> Clone for RelocationIterator<'data>
impl<'data> Clone for RelocationIterator<'data>
pub fn clone(&self) -> PrebindCksumCommand<E>
impl Clone for ImagePrologueDynamicRelocationHeader
impl Clone for ImagePrologueDynamicRelocationHeader
pub fn clone(&self) -> ImagePrologueDynamicRelocationHeader
pub fn clone(&self) -> EntryPointCommand<E>
pub fn clone(&self) -> CompressionHeader64<E>
pub fn clone(&self) -> VerdauxIterator<'data, Elf>
pub fn clone(&self) -> SourceVersionCommand<E>
impl Clone for assert_return_canonical_nan_f32x4
impl Clone for assert_return_canonical_nan_f32x4
pub fn clone(&self) -> assert_return_canonical_nan_f32x4
impl<'a> Clone for Lexer<'a>
impl<'a> Clone for Lexer<'a>
impl Clone for assert_return_canonical_nan_f64x2
impl Clone for assert_return_canonical_nan_f64x2
pub fn clone(&self) -> assert_return_canonical_nan_f64x2
impl Clone for assert_return_arithmetic_nan_f32x4
impl Clone for assert_return_arithmetic_nan_f32x4
pub fn clone(&self) -> assert_return_arithmetic_nan_f32x4
impl Clone for assert_return_arithmetic_nan_f64x2
impl Clone for assert_return_arithmetic_nan_f64x2
pub fn clone(&self) -> assert_return_arithmetic_nan_f64x2
pub fn clone(&self) -> shared
pub fn clone(&self) -> Map<K, V>
pub fn clone(&self) -> SecondaryMap<K, V>
pub fn clone(&self) -> BoxedSlice<K, V>
pub fn clone(&self) -> EntityList<T>
pub fn clone(&self) -> ListPool<T>
pub fn clone(&self) -> PrimaryMap<K, V>
pub fn clone(&self) -> PackedOption<T>
pub fn clone(&self) -> TypedIxVec<TyIx, Ty>
pub fn clone(&self) -> LocationListsOffset<T>
pub fn clone(&self) -> ArangeEntryIter<R>
pub fn clone(&self) -> AttributeValue<R, Offset>
pub fn clone(&self) -> Operation<R, Offset>
pub fn clone(&self) -> UnwindTableRow<R>
pub fn clone(&self) -> DebugInfoUnitHeadersIter<R>
pub fn clone(&self) -> AttrsIter<'abbrev, 'entry, 'unit, R>
pub fn clone(&self) -> RawRangeListsOffset<T>
pub fn clone(&self) -> DebugArangesOffset<T>
pub fn clone(&self) -> LocationListEntry<R>
pub fn clone(&self) -> PubNamesEntry<R>
pub fn clone(&self) -> CfiEntriesIter<'bases, Section, R>
pub fn clone(&self) -> ParsedEhFrameHdr<R>
pub fn clone(&self) -> ArangeHeaderIter<R>
pub fn clone(&self) -> ArangeHeader<R, Offset>
pub fn clone(&self) -> DebugLineStrOffset<T>
pub fn clone(&self) -> CallFrameInstructionIter<'a, R>
pub fn clone(&self) -> EntriesCursor<'abbrev, 'unit, R>
pub fn clone(&self) -> DebugStrOffsetsIndex<T>
pub fn clone(&self) -> PubTypesEntry<R>
pub fn clone(&self) -> Location<R, Offset>
pub fn clone(&self) -> CallFrameInstruction<R>
pub fn clone(&self) -> EndianVec<Endian>
pub fn clone(&self) -> EhHdrTable<'a, R>
pub fn clone(&self) -> FileEntry<R, Offset>
pub fn clone(&self) -> UnitType<Offset>
pub fn clone(&self) -> EntriesTree<'abbrev, 'unit, R>
pub fn clone(&self) -> LineProgramHeader<R, Offset>
pub fn clone(&self) -> EndianSlice<'input, Endian>
pub fn clone(&self) -> PubNamesEntryIter<R>
pub fn clone(&self) -> EndianReader<Endian, T>
pub fn clone(&self) -> PartialFrameDescriptionEntry<'bases, Section, R>
pub fn clone(&self) -> CieOrFde<'bases, Section, R>
pub fn clone(&self) -> Piece<R, Offset>
pub fn clone(&self) -> RawLocListEntry<R>
pub fn clone(&self) -> UninitializedUnwindContext<R>
pub fn clone(&self) -> FrameDescriptionEntry<R, Offset>
pub fn clone(&self) -> DebugTypesUnitHeadersIter<R>
pub fn clone(&self) -> CommonInformationEntry<R, Offset>
pub fn clone(&self) -> DebugStrOffsetsBase<T>
pub fn clone(&self) -> UnitHeader<R, Offset>
pub fn clone(&self) -> DebugMacinfoOffset<T>
pub fn clone(&self) -> DebugLocListsIndex<T>
pub fn clone(&self) -> EntriesRaw<'abbrev, 'unit, R>
pub fn clone(&self) -> DebuggingInformationEntry<'abbrev, 'unit, R, Offset>
pub fn clone(&self) -> PubTypesEntryIter<R>
pub fn clone(&self) -> CompleteLineProgram<R, Offset>
pub fn clone(&self) -> IncompleteLineProgram<R, Offset>
pub fn clone(&self) -> DebugRngListsIndex<T>
pub fn clone(&self) -> LineInstructions<R>
pub fn clone(&self) -> LineRows<R, Program, Offset>
pub fn clone(&self) -> LineInstruction<R, Offset>
impl<I, U, F> Clone for FlatMap<I, U, F> where
F: Clone,
I: Clone,
U: Clone + IntoFallibleIterator,
<U as IntoFallibleIterator>::IntoFallibleIter: Clone,
impl<I, U, F> Clone for FlatMap<I, U, F> where
F: Clone,
I: Clone,
U: Clone + IntoFallibleIterator,
<U as IntoFallibleIterator>::IntoFallibleIter: Clone,
impl<I> Clone for Flatten<I> where
I: FallibleIterator + Clone,
<I as FallibleIterator>::Item: IntoFallibleIterator,
<<I as FallibleIterator>::Item as IntoFallibleIterator>::IntoFallibleIter: Clone,
impl<I> Clone for Flatten<I> where
I: FallibleIterator + Clone,
<I as FallibleIterator>::Item: IntoFallibleIterator,
<<I as FallibleIterator>::Item as IntoFallibleIterator>::IntoFallibleIter: Clone,
pub fn clone(&self) -> Iterator<I>ⓘNotable traits for Iterator<I>impl<I> Iterator for Iterator<I> where
I: FallibleIterator, type Item = Result<<I as FallibleIterator>::Item, <I as FallibleIterator>::Error>;
impl<I> Iterator for Iterator<I> where
I: FallibleIterator, type Item = Result<<I as FallibleIterator>::Item, <I as FallibleIterator>::Error>;impl<I> Clone for Peekable<I> where
I: Clone + FallibleIterator,
<I as FallibleIterator>::Item: Clone,
impl<I> Clone for Peekable<I> where
I: Clone + FallibleIterator,
<I as FallibleIterator>::Item: Clone,
impl<A, B> Clone for ZipEq<A, B> where
B: Clone + IndexedParallelIterator,
A: Clone + IndexedParallelIterator,
impl<A, B> Clone for ZipEq<A, B> where
B: Clone + IndexedParallelIterator,
A: Clone + IndexedParallelIterator,
impl<I, J> Clone for InterleaveShortest<I, J> where
I: Clone + IndexedParallelIterator,
J: Clone + IndexedParallelIterator<Item = <I as ParallelIterator>::Item>,
impl<I, J> Clone for InterleaveShortest<I, J> where
I: Clone + IndexedParallelIterator,
J: Clone + IndexedParallelIterator<Item = <I as ParallelIterator>::Item>,
impl<I> Clone for Intersperse<I> where
I: Clone + ParallelIterator,
<I as ParallelIterator>::Item: Clone,
<I as ParallelIterator>::Item: Clone,
impl<I> Clone for Intersperse<I> where
I: Clone + ParallelIterator,
<I as ParallelIterator>::Item: Clone,
<I as ParallelIterator>::Item: Clone,
impl<A, B> Clone for Chain<A, B> where
B: Clone + ParallelIterator<Item = <A as ParallelIterator>::Item>,
A: Clone + ParallelIterator,
impl<A, B> Clone for Chain<A, B> where
B: Clone + ParallelIterator<Item = <A as ParallelIterator>::Item>,
A: Clone + ParallelIterator,
impl<I, J> Clone for Interleave<I, J> where
I: Clone + IndexedParallelIterator,
J: Clone + IndexedParallelIterator<Item = <I as ParallelIterator>::Item>,
impl<I, J> Clone for Interleave<I, J> where
I: Clone + IndexedParallelIterator,
J: Clone + IndexedParallelIterator<Item = <I as ParallelIterator>::Item>,
impl<A, B> Clone for Zip<A, B> where
B: Clone + IndexedParallelIterator,
A: Clone + IndexedParallelIterator,
impl<A, B> Clone for Zip<A, B> where
B: Clone + IndexedParallelIterator,
A: Clone + IndexedParallelIterator,
pub fn clone(&self) -> Atomic<T>
pub fn clone(&self) -> Atomic<T>
Returns a copy of the atomic value.
Note that a Relaxed load is used here. If you need synchronization, use it with other
atomics or fences.
pub fn clone(&self) -> Shared<'_, T>
impl Clone for Collector
impl Clone for Collector
pub fn clone(&self) -> Collector
pub fn clone(&self) -> Collector
Creates another reference to the same garbage collector.
impl Clone for OutputReader
impl Clone for OutputReader
pub fn clone(&self) -> CountedList<T>
impl<I, T> Clone for CountedListWriter<I, T> where
T: Clone + IntoIterator<Item = I>,
I: Serialize<Error = Error> + Clone,
impl<I, T> Clone for CountedListWriter<I, T> where
T: Clone + IntoIterator<Item = I>,
I: Serialize<Error = Error> + Clone,
pub fn clone(&self) -> CountedListWriter<I, T>
impl<'a, V> Clone for Iter<'a, V>
impl<'a, V> Clone for Iter<'a, V>
impl<'a, V> Clone for Values<'a, V>
impl<'a, V> Clone for Values<'a, V>
pub fn clone(&self) -> VecMap<V>
pub fn clone_from(&mut self, source: &VecMap<V>)
impl<'a, V> Clone for Keys<'a, V>
impl<'a, V> Clone for Keys<'a, V>
pub fn clone(&self) -> BandwidthLogging<TInner>
pub fn clone(&self) -> MapOutboundUpgradeErr<U, F>
pub fn clone(&self) -> EitherTransport<A, B>
pub fn clone(&self) -> FromFnUpgrade<P, F>
pub fn clone(&self) -> EitherListenStream<A, B>
pub fn clone(&self) -> EitherFuture<A, B>ⓘNotable traits for EitherFuture<AFuture, BFuture>impl<AFuture, BFuture, AInner, BInner> Future for EitherFuture<AFuture, BFuture> where
AFuture: TryFuture<Ok = AInner>,
BFuture: TryFuture<Ok = BInner>, type Output = Result<EitherOutput<AInner, BInner>, EitherError<<AFuture as TryFuture>::Error, <BFuture as TryFuture>::Error>>;
impl<AFuture, BFuture, AInner, BInner> Future for EitherFuture<AFuture, BFuture> where
AFuture: TryFuture<Ok = AInner>,
BFuture: TryFuture<Ok = BInner>, type Output = Result<EitherOutput<AInner, BInner>, EitherError<<AFuture as TryFuture>::Error, <BFuture as TryFuture>::Error>>;pub fn clone(&self) -> EitherOutput<A, B>
pub fn clone(&self) -> AndThenStream<TListener, TMap>
pub fn clone(&self) -> OrTransport<A, B>
pub fn clone(&self) -> EitherError<A, B>
pub fn clone(&self) -> EitherUpgrade<A, B>
pub fn clone(&self) -> MapInboundUpgradeErr<U, F>
pub fn clone(&self) -> SubstreamEndpoint<TDialInfo>
pub fn clone(&self) -> EitherFuture2<A, B>ⓘNotable traits for EitherFuture2<AFut, BFut>impl<AFut, BFut, AItem, BItem, AError, BError> Future for EitherFuture2<AFut, BFut> where
AFut: TryFuture<Ok = AItem, Error = AError>,
BFut: TryFuture<Ok = BItem, Error = BError>, type Output = Result<EitherOutput<AItem, BItem>, EitherError<AError, BError>>;
impl<AFut, BFut, AItem, BItem, AError, BError> Future for EitherFuture2<AFut, BFut> where
AFut: TryFuture<Ok = AItem, Error = AError>,
BFut: TryFuture<Ok = BItem, Error = BError>, type Output = Result<EitherOutput<AItem, BItem>, EitherError<AError, BError>>;pub fn clone(&self) -> EitherOutbound<A, B>
pub fn clone(&self) -> EitherName<A, B>
pub fn clone(&self) -> MapStream<T, F>
pub fn clone(&self) -> SelectUpgrade<A, B>
pub fn clone(&self) -> MapInboundUpgrade<U, F>
pub fn clone(&self) -> MapOutboundUpgrade<U, F>
pub fn clone(&self) -> ConnectionHandlerEvent<TOutboundOpenInfo, TCustom>
pub fn clone(&self) -> TransportTimeout<InnerTrans>
pub fn clone(&self) -> ListenerEvent<TUpgr, TErr>
pub fn clone(&self) -> TransportError<TErr>
pub fn clone(&self) -> SharedSecret<D>
pub fn clone(&self) -> GenericArray<T, N>
pub fn clone(&self) -> Hmac<D>
pub fn clone(&self) -> MacResult<N>
impl Clone for Sha512Trunc256
impl Clone for Sha512Trunc256
impl Clone for Sha512Trunc224
impl Clone for Sha512Trunc224
pub fn clone(&self) -> BlockBuffer<BlockSize>
pub fn clone(&self) -> GenDnsConfig<T, C, P>
pub fn clone(&self) -> AsyncResolver<C, P>
pub fn clone(&self) -> RetryDnsHandle<H>
pub fn clone(&self) -> Ipv6SubnetsⓘNotable traits for Ipv6Subnetsimpl Iterator for Ipv6Subnets type Item = Ipv6Net;
impl Iterator for Ipv6Subnets type Item = Ipv6Net;pub fn clone(&self) -> Ipv4SubnetsⓘNotable traits for Ipv4Subnetsimpl Iterator for Ipv4Subnets type Item = Ipv4Net;
impl Iterator for Ipv4Subnets type Item = Ipv4Net;pub fn clone(&self) -> Ipv6AddrRangeⓘNotable traits for Ipv6AddrRangeimpl Iterator for Ipv6AddrRange type Item = Ipv6Addr;
impl Iterator for Ipv6AddrRange type Item = Ipv6Addr;pub fn clone(&self) -> Ipv4AddrRangeⓘNotable traits for Ipv4AddrRangeimpl Iterator for Ipv4AddrRange type Item = Ipv4Addr;
impl Iterator for Ipv4AddrRange type Item = Ipv4Addr;pub fn clone(&self) -> IpAddrRangeⓘNotable traits for IpAddrRangeimpl Iterator for IpAddrRange type Item = IpAddr;
impl Iterator for IpAddrRange type Item = IpAddr;pub fn clone(&self) -> LruCache<K, V, S>
impl<'a, K, V> Clone for Iter<'a, K, V>
impl<'a, K, V> Clone for Iter<'a, K, V>
impl<'a, K, V> Clone for Iter<'a, K, V>
impl<'a, K, V> Clone for Iter<'a, K, V>
impl<'a, K, V> Clone for Keys<'a, K, V>
impl<'a, K, V> Clone for Keys<'a, K, V>
pub fn clone(&self) -> LinkedHashMap<K, V, S>
impl<'a, K, V> Clone for Values<'a, K, V>
impl<'a, K, V> Clone for Values<'a, K, V>
impl<'a> Clone for DomainIter<'a>
impl<'a> Clone for DomainIter<'a>
impl<'a> Clone for Ancestors<'a>
impl<'a> Clone for Ancestors<'a>
impl<'a> Clone for Iter<'a>
impl<'a> Clone for Iter<'a>
impl<'a> Clone for Components<'a>
impl<'a> Clone for Components<'a>
pub fn clone(&self) -> Scan<S, St, F>
pub fn clone(&self) -> TakeWhile<S, P>
pub fn clone(&self) -> Then<S, F, Fut>
pub fn clone(&self) -> FilterMap<S, F>
pub fn clone(&self) -> SkipWhile<S, P>
pub fn clone(&self) -> FlatMap<S, U, F>
pub fn clone(&self) -> TryUnfold<T, F, Fut>
pub fn clone(&self) -> Unfold<T, F, Fut>
pub fn clone(&self) -> Zip<A, B>
pub fn clone(&self) -> Flatten<S>
pub fn clone(&self) -> ProtocolsHandlerSelect<TProto1, TProto2>
pub fn clone(&self) -> SubstreamProtocol<TUpgrade, TInfo>
pub fn clone(&self) -> MultiHandler<K, H>
pub fn clone(&self) -> IntoMultiHandler<K, H>
pub fn clone(&self) -> IntoProtocolsHandlerSelect<TProto1, TProto2>
pub fn clone(
&self
) -> ProtocolsHandlerEvent<TConnectionUpgrade, TOutboundOpenInfo, TCustom, TErr>
pub fn clone(&self) -> KBucketsTable<TKey, TVal>
pub fn clone(&self) -> InsertResult<TKey>
pub fn clone(&self) -> AppliedPending<TKey, TVal>
pub fn clone(&self) -> EntryView<TKey, TVal>
pub fn clone(&self) -> Node<TKey, TVal>
impl<'r> Clone for CaptureNames<'r>
impl<'r> Clone for CaptureNames<'r>
impl<'a> Clone for SetMatchesIter<'a>
impl<'a> Clone for SetMatchesIter<'a>
impl<'c, 't> Clone for SubCaptureMatches<'c, 't>
impl<'c, 't> Clone for SubCaptureMatches<'c, 't>
impl<'c, 't> Clone for SubCaptureMatches<'c, 't>
impl<'c, 't> Clone for SubCaptureMatches<'c, 't>
impl<'r> Clone for CaptureNames<'r>
impl<'r> Clone for CaptureNames<'r>
impl<'a> Clone for SetMatchesIter<'a>
impl<'a> Clone for SetMatchesIter<'a>
pub fn clone(&self) -> AuthenticKeypair<T>
pub fn clone(&self) -> NoiseAuthenticated<P, C, R>
pub fn clone(&self) -> NoiseConfig<P, C, R>
pub fn clone(&self) -> PreSharedKey
impl<'a, K, V> Clone for Iter<'a, K, V>
impl<'a, K, V> Clone for Iter<'a, K, V>
pub fn clone(&self) -> HttpsStream<S>ⓘNotable traits for HttpsStream<S>impl<S> Read for HttpsStream<S> where
S: NetworkStream, impl<S> Write for HttpsStream<S> where
S: NetworkStream,
impl<S> Read for HttpsStream<S> where
S: NetworkStream, impl<S> Write for HttpsStream<S> where
S: NetworkStream, pub fn clone(&self) -> HttpStreamⓘNotable traits for HttpStreamimpl Read for HttpStreamimpl Write for HttpStream
impl Read for HttpStreamimpl Write for HttpStreamimpl<'a> Clone for PercentDecode<'a>
impl<'a> Clone for PercentDecode<'a>
pub fn clone(&self) -> AllowStdIo<T>ⓘNotable traits for AllowStdIo<T>impl<T> Read for AllowStdIo<T> where
T: Read, impl<T> Write for AllowStdIo<T> where
T: Write,
impl<T> Read for AllowStdIo<T> where
T: Read, impl<T> Write for AllowStdIo<T> where
T: Write, impl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: Clone + BlockRngCore + SeedableRng,
Rsdr: Clone + RngCore,
impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: Clone + BlockRngCore + SeedableRng,
Rsdr: Clone + RngCore,
pub fn clone(&self) -> IndexVecIntoIterⓘNotable traits for IndexVecIntoIterimpl Iterator for IndexVecIntoIter type Item = usize;
impl Iterator for IndexVecIntoIter type Item = usize;impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
impl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
impl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
pub fn clone(&self) -> EitherWriter<A, B>ⓘNotable traits for EitherWriter<A, B>impl<A, B> Write for EitherWriter<A, B> where
B: Write,
A: Write,
impl<A, B> Write for EitherWriter<A, B> where
B: Write,
A: Write, pub fn clone(&self) -> Pattern<S, A>
pub fn clone(&self) -> SparseDFA<T, S>
pub fn clone(&self) -> ByteClass<T, S>
pub fn clone(&self) -> ByteClass<T, S>
pub fn clone(&self) -> Premultiplied<T, S>
pub fn clone(&self) -> DenseDFA<T, S>
pub fn clone(&self) -> PremultipliedByteClass<T, S>
pub fn clone(&self) -> Standard<T, S>
pub fn clone(&self) -> Standard<T, S>
Cloning an ANSIGenericString will clone its underlying string.
Examples
use ansi_term::ANSIString;
let plain_string = ANSIString::from("a plain string");
let clone_string = plain_string.clone();
assert_eq!(clone_string, plain_string);